-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add test of dashboard
PR#7
#8
Conversation
# Check Kubernetes dump files | ||
aobj = Application.query.filter_by( | ||
kubernetes_id=kobj.kubernetes_id).one_or_none() | ||
if aobj is not None: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can't we assert aobj
is not None
here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No we can't.
I have noticed that this aobj
is always None
.
So we can remove this # Check Kubernetes dump files
section.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, let's remove this section!
@yoquankara |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! LGTM
What is this PR for?
Add test of
dashboard
PR#7rekcurd/dashboard#7
This PR includes
What type of PR is it?
Feature
What is the issue?
N/A
How should this be tested?
Run unit test.